package cn.gnp.framework.persist.pagination;

import cn.gnp.framework.persist.Constants;

/**
 */
public interface IPageContext<E> {
    
    public static final int DEFAULT_PAGE_SIZE = Constants.DEFAULT_PAGE_SIZE;
    
    public int getPageCount();
    
    public Page<E> getPage(int index);
    
    public int getPageSize();
    
    public int getTotal();
    
}
